package com.javaee.ex05.service.impl;

import com.javaee.ex05.service.BookService;
import org.springframework.stereotype.Service;

@Service
public class BookServiceImpl implements BookService {
    @Override
    public void subscribe() {
        System.out.println("*******向出版社订阅图书*********");
        // 实际编程中是更复杂的业务代码
    }
    @Override
    public void discount() {
        System.out.println("*******打折销售图书*******");
        // 实际编程中是更复杂的业务代码
    }
}
